package collect.taobao.util.generate;

import java.util.List;

public class LogicServiceImpl implements LogicService{
	
	private FreezeDao freezeDao;
	
	public LogicServiceImpl() {
		super();
	}

	public int delete(EntityBean entityBean) {
		return freezeDao.delete(entityBean);
	}

	public EntityBean query(String id) {
		return freezeDao.query(id);
	}

	public List queryList() {
		return freezeDao.queryList();
	}

	public int save(EntityBean entityBean) {
		return freezeDao.save(entityBean);
	}

	public int update(EntityBean entityBean) {
		return freezeDao.update(entityBean);
	}

	public void setFreezeDao(FreezeDao freezeDao) {
		this.freezeDao = freezeDao;
	}
	

}
